﻿using System;
using System.Collections.Generic;
using System.Text;

namespace CarCricketMatchApp
{

    /// <summary>
    /// vehicle 
    /// </summary>
    public class Vehicle
    {
        #region properties
        private Colours colour;
        private Types vehicleType;

        #endregion

        #region properties
        public Colours Colour
        {
            get { return colour; }
            set { colour = value; }
        }

        public Types VehicleType
        {
            get { return vehicleType; }
            set { vehicleType = value; }
        }
        #endregion
        public Vehicle(Colours color, Types type)
        {
            this.colour = color;
            this.vehicleType = type;
        }

        public override string ToString()
        {
            return colour.ToString() + " " + vehicleType.ToString(); 
        }
    }
}
